Skip to content

Conversation

@tiandavis
Copy link

Removed the change event trigger on self.strokes because it can cause an infinite loop in p2p connection cases. Thanks for the contribution! Clean and simple library. SVG++

@cecilpeng
Copy link

We should avoid to call it this way. The change callback is equal to receive data, whereas call api is related to the user-interaction or some implict logic. In p2p connection, receive data => paint => change event => here you must eat it. Any p2p connection should consider this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants